<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>其他文件</title>
</head>

<body>
<!--容器-->
<div>
    <div class="DetailsRtTop clearfix" id="lc_img_left">

        <#if "${lcdto.finishStatus}" ==3 >
            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==2 >
            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==1 >
            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==0 >
            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
        </#if>
        <span class="ft18 bold fl ml10">其他文档</span>
    </div>
    <div class="downModule whitebg">

        <div class="right clearfix">
            <@shiro.hasPermission name="file:statisticsjc">
            <button type="button"  class="layui-btn"  style="height: 35px;padding:0 0px;" onclick="_prom_page.events.wdTj(this)"> 文档统计</button>
            </@shiro.hasPermission>
            <@shiro.hasPermission name="file:eventsjc">
            <button type="button"  class="layui-btn"  style="height: 35px;padding:0 0px;background: #FF4343;" onclick="_prom_page.events.bigEvent(this)">项目大事记</button>
            </@shiro.hasPermission>
            <@shiro.hasPermission name="file:recordjc">
            <button type="button"  class="layui-btn"  style="height: 35px;padding:0 0px;background: white;color: red;border: 1px solid;" onclick="_prom_page.events.viewSealReocrd(this)">用章记录</button>
            </@shiro.hasPermission>
        </div>
        <ul class="mb30">
            <li>
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("13")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("12")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("11")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("10")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="037">检测日志</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadjc">
                            <label>
                                <img  src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '037',value:'11'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/57@2x.png" alt="" class="fl " onclick="_prom_page.events.addForm(this)" lay-data="{type: '037',value:'11'}">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadjc">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '037',value:'11'}"
                                        bt-data="['c','d']" class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:deljc">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl" onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <#if  "${fi_12}"!="12" >
                        <@shiro.hasPermission name="file:finishjc">
                            <button class="fl bluebg white fl ml20" lay-fs="12"
                                    onclick="_prom_page.events.finish(this)">完成
                            </button>
                        </@shiro.hasPermission>
                        </#if>
                    </div>
                </div>
                <ul id="jl_lxbox1" class="clearfix">
                    <#list listwj037 as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:exportjc">
                                <button type="button" class="fr ml20 mt15 bgnone"
                                        onclick="_prom_page.events.exportFile(this)">导出
                                </button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:viewjc">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>

            <li>
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("23")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("22")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("21")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("20")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="038">检测月报</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadjc">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '038',value:'21'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/57@2x.png" alt="" class="fl " onclick="_prom_page.events.addForm(this)" lay-data="{type: '038',value:'21'}">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadjc">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '038',value:'21'}"
                                        bt-data="['c','d']" class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:deljc">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl" onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <#if  "${fi_22}"!="22" >
                        <@shiro.hasPermission name="file:finishjc">
                            <button class="fl bluebg white fl ml20" lay-fs="22"
                                    onclick="_prom_page.events.finish(this)">完成
                            </button>
                        </@shiro.hasPermission>
                        </#if>
                    </div>
                </div>
                <ul id="jl_lxbox1" class="clearfix">
                    <#list listwj038 as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:exportjc">
                                <button type="button" class="fr ml20 mt15 bgnone"
                                        onclick="_prom_page.events.exportFile(this)">导出
                                </button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:viewjc">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>
            <li>
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("33")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("32")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("31")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("30")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="039">其他文档</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadjc">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '039',value:'31'}"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadjc">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '039',value:'31'}"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:deljc">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl"
                                 onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <#if  "${fi_32}"!="32" >
                        <@shiro.hasPermission name="file:finishjc">
                            <button class="fl bluebg white fl ml20" lay-fs="32"
                                    onclick="_prom_page.events.finish(this)"> 完成
                            </button>
                        </@shiro.hasPermission>
                        </#if>
                    </div>
                </div>
                <ul id="jl_lxbox2" class="clearfix">

                    <#list listwj039 as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:exportjc">
                                <button type="button" class="fr ml20 mt15 bgnone"
                                        onclick="_prom_page.events.exportFile(this)">导出
                                </button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:viewjc">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>

            <li class="clearfix">
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("43")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("42")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("41")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("40")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="121">投资证明</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadjc">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '121',value:'41'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl" onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadjc">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '121',value:'41'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                        </@shiro.lacksPermission>
                        <#if  "${fi_42}"!="42" >
                        <@shiro.hasPermission name="file:finishjc">
                            <button class="fl bluebg white fl ml20 btn_finish" lay-fs="42" onclick="_prom_page.events.finish(this)">完成</button>
                        </@shiro.hasPermission>
                        </#if>
                    </div>
                </div>
                <ul class="clearfix">
                    <#list listwj121 as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:export">
                                <button type="button" class="fr ml20 mt15 bgnone" onclick="_prom_page.events.exportFile(this)">导出</button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:view">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>

            <li class="clearfix">
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("53")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("52")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("51")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("50")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="122">表扬信</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadjc">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '122',value:'51'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl" onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadjc">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '122',value:'51'}" class="img-upload whitebutton ft12 blue">点击上传</button>
                            </label>
                        </@shiro.lacksPermission>
                        <#if  "${fi_52}"!="52" >
                        <@shiro.hasPermission name="file:finishjc">
                            <button class="fl bluebg white fl ml20 btn_finish" lay-fs="52" onclick="_prom_page.events.finish(this)">完成</button>
                        </@shiro.hasPermission>
                        </#if>
                    </div>
                </div>
                <ul class="clearfix">
                    <#list listwj122 as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:export">
                                <button type="button" class="fr ml20 mt15 bgnone" onclick="_prom_page.events.exportFile(this)">导出</button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:view">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>
        </ul>
    </div>
    <#--    <input type="button" value="123456" onclick="test1()"/>-->
    <#--    <iframe id="testframe"></iframe>-->
</div>
<script type="text/javascript" src="${re.contextPath}/plugin/system/supervisor/guide.js"></script>
<script>
    function test1() {
        $("#testframe").attr("src", "/sys/office/test1?id=098");
    }
    $(function () {
        var jsondata = {
            "id": '${pdto.id}',
            "spmId": '${pdto.spmId}',
            "stageId": '${stagedto.id}'
        }
        _prom_page._init(5, jsondata);
        var haveGuide = '${haveGuide}';guide._initMileFileGuide($(".milefile"));
        if (haveGuide) {
            var badtNo = '${badtNo}';
            guide._initBtn(haveGuide, badtNo);
        }

        // layui-tab-title 自动触发点击事件
        for (var i = 0; i < 3; i++) {
            $('.layui-tab-title:eq(' + i + ') li:eq(0)').click();
        }
        _prom_page.events.butKzInit();
    });
</script>

</body>

</html>